// src/components/parent-component.vue

<template>
    <h2>This is a parent component</h2>
    <teleport to="#modals">
        <div>A</div>
    </teleport>
    <teleport to="#modals">
        <div>B</div>
    </teleport>
</template>

<script lang="ts">
import { defineComponent } from "vue";

export default defineComponent({
    name: 'ParentComponent'
})
</script>